﻿using System;
using UnityEngine;

namespace Studio
{
	// Token: 0x020004D1 RID: 1233
	public class LightColor : MonoBehaviour
	{
		// Token: 0x17000390 RID: 912
		// (set) Token: 0x06001F5B RID: 8027 RVA: 0x000C30F0 File Offset: 0x000C12F0
		public Color color
		{
			set
			{
				if (this.material)
				{
					this.material.color = value;
				}
			}
		}

		// Token: 0x06001F5C RID: 8028 RVA: 0x000C3110 File Offset: 0x000C1310
		public virtual void Awake()
		{
			this.material = this.renderer.material;
		}

		// Token: 0x04002123 RID: 8483
		[SerializeField]
		private Renderer renderer;

		// Token: 0x04002124 RID: 8484
		private Material material;
	}
}
